import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../components/Home.vue'
import Bill from '../components/Bill.vue'
import Order from '../components/Order.vue'

Vue.use(VueRouter)

export default new VueRouter({
    mode: 'history',
    routes: [
        {
            name: 'home',
            path: '/',
            component: Home
        },
        {
            name: 'bill',
            path: '/bill',
            component: Bill
        },
        {
            name: 'order',
            path: '/order',
            component: Order
        }
    ]
})
